From: Boyuan Yang Date: Sat, 3 Aug 2024 23:05:57 +0000 (-0400) Subject: debian/rules: Use pyproject instead of distutils for pybuild X-Git-Tag: archive/raspbian/1.1.9+ds1-4+rpi1^2^2~17 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22bookmarks:/%22/%22http:/www.example.com/cgi/%22https:/%22bookmarks:/%22?a=commitdiff_plain;h=6598d2e851f416caa2a2230579468c9e52e11154;p=opencc.git debian/rules: Use pyproject instead of distutils for pybuild --- diff --git a/debian/rules b/debian/rules index 26baabe..05f4cac 100755 --- a/debian/rules +++ b/debian/rules @@ -41,14 +41,14 @@ override_dh_auto_configure: dh_auto_configure -- $(BUILD_OPTIONS) execute_after_dh_auto_build: - dh_auto_build -O--buildsystem=pybuild -- -s distutils --after-build \ + dh_auto_build -O--buildsystem=pybuild -- -s pyproject --after-build \ "cp obj-$(DEB_BUILD_GNU_TYPE)/opencc_clib.*.so {build_dir}/opencc/clib/" execute_after_dh_auto_test: - dh_auto_test -O--buildsystem=pybuild -- -s distutils + dh_auto_test -O--buildsystem=pybuild -- -s pyproject execute_after_dh_auto_install: - dh_auto_install -O--buildsystem=pybuild -- -s distutils + dh_auto_install -O--buildsystem=pybuild -- -s pyproject chrpath --delete debian/tmp/usr/lib/*/dist-packages/opencc/clib/*.so for i in debian/tmp/usr/lib/*/dist-packages/opencc/clib/; do \ mkdir -p $$i/share/; \